package com.service.dao.mapper;

import com.service.dao.model.MerchantOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商家订单表
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-03-28 12:54:56
 */
@Mapper
public interface MerchantOrderMapper extends BaseMapper<MerchantOrder> {

    BigDecimal sumTotalMoneyUsdtByMemberIdList(@Param("memberId") List<Integer> memberId);

    BigDecimal sumTotalConcessionUsdtByMemberIdList(@Param("memberId") List<Integer> memberId);

}
